package com.yiboshi.rehrs.exception;

import com.yiboshi.rehrs.common.VarConstant;

/**
 * @author jack 2025/3/21
 */
public class ZyantExceptionUtils {

    //授权错误
    public static void x(boolean tr, String msg)
    {
        if(tr){
            throw new ZhongException(VarConstant.error_x,msg);
        }

    }
    //系统异常
    public static void e(boolean tr, String msg)
    {
        if(tr){
            throw new ZhongException(VarConstant.error_e,msg);
        }

    }


}
